package com.ibeeking.found.upms.b.rest.service;

import com.ibeeking.found.upms.service.common.bo.OpenUrlBO;
import com.ibeeking.found.upms.service.common.param.OpenUrlParam;
import com.ibeeking.found.upms.service.common.query.OpenUrlPageQuery;
import com.ibeeking.found.upms.service.common.vo.OpenUrlPageVO;
import com.ibeeking.found.upms.service.common.vo.OpenUrlVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @ClassName IOpenUrlService
 * @Description
 * @Author ibeeking
 * @Date 2021-03-31 16:55
 **/
public interface IOpenUrlService {
    Page<OpenUrlPageVO> pageList(OpenUrlPageQuery query);

    Boolean add(OpenUrlParam param);

    Boolean modify(OpenUrlParam param);

    OpenUrlVO view(Long id);

    OpenUrlBO queryById(Long id);

    Boolean changeStatus(Long id, Integer status);

    Boolean del(Long id);

    List<OpenUrlBO> queryByIds(List<Long> ids);
}
